Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/exchange object meta signatures #2936

Closed
wants to merge 5 commits into from

Conversation

carpawell
Copy link
Member

No description provided.

@carpawell carpawell self-assigned this Sep 12, 2024
It takes too much of network/disk to handle tombstones expiration and removal,
so it is better to store it when tombstone is being indexed in metabase.
Additional little-endian expiration suffix was added to graveyard values.
Metabase version was increased as it is a non-compatible change. Relates #2929.

Signed-off-by: Pavel Karpy <[email protected]>
They do not differ from the other objects (e.g. locks do). Initial logic has
changed much, graveyard now allows to handle expired tombstones marks (do not
confuse it with the lists of regular indexes) independently, while disk can be
cleared with the other types of object. Also, add tests for it.

Signed-off-by: Pavel Karpy <[email protected]>
Graveyard now has tombstone expiration marks in epochs, there is no need to use
any network requests, just drop records if an epoch is big enough.
Closes #2929.

Signed-off-by: Pavel Karpy <[email protected]>
It may or may not index tombstone's expiration in graveyard.

Signed-off-by: Pavel Karpy <[email protected]>
@carpawell carpawell force-pushed the feat/exchange-object-meta-signatures branch from eb9b0d1 to 28fd1e7 Compare September 12, 2024 17:48
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 57.14286% with 27 lines in your changes missing coverage. Please review.

Project coverage is 24.00%. Comparing base (4a1bc79) to head (28fd1e7).

Files with missing lines Patch % Lines
pkg/local_object_storage/metabase/graveyard.go 58.62% 8 Missing and 4 partials ⚠️
pkg/services/object/put/local.go 0.00% 4 Missing ⚠️
pkg/local_object_storage/shard/gc.go 57.14% 2 Missing and 1 partial ⚠️
cmd/neofs-lens/internal/meta/list-graveyard.go 0.00% 2 Missing ⚠️
cmd/neofs-node/object.go 0.00% 2 Missing ⚠️
pkg/local_object_storage/shard/control.go 50.00% 1 Missing and 1 partial ⚠️
cmd/neofs-node/storage.go 0.00% 1 Missing ⚠️
pkg/local_object_storage/metabase/iterators.go 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2936      +/-   ##
==========================================
+ Coverage   23.90%   24.00%   +0.09%     
==========================================
  Files         776      773       -3     
  Lines       45708    45580     -128     
==========================================
+ Hits        10928    10942      +14     
+ Misses      33920    33780     -140     
+ Partials      860      858       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@carpawell carpawell closed this Sep 12, 2024
@carpawell carpawell deleted the feat/exchange-object-meta-signatures branch September 12, 2024 17:51
@carpawell
Copy link
Member Author

wrong branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant